package org.example.demo3.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.demo3.enity.ProductDTO;
import org.example.demo3.enity.product;
import org.example.demo3.vo.productVO;
import org.springframework.stereotype.Service;

@Service
public interface ProductService extends IService<product> {
    boolean saveProducts(ProductDTO productDTO);

    Page<productVO> findPage(productVO productVO, int pageNum, int pageSize);

    productVO getProducts(Integer id);


}
